package com.ruoyi.purchase.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 库存管理对象 firm_inventory
 * 
 * @author ruoyi
 * @date 2023-07-16
 */
public class FirmInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 条码 */
    @Excel(name = "条码")
    private String barCode;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 颜色 */
    @Excel(name = "颜色")
    private String coler;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 单位 */
    @Excel(name = "单位")
    private String units;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 初始库存 */
    @Excel(name = "初始库存")
    private String bl;

    /** 库存 */
    @Excel(name = "库存")
    private String  Inventory;

    /** 库存金额 */
    @Excel(name = "库存金额")
    private String ia;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBarCode(String barCode) 
    {
        this.barCode = barCode;
    }

    public String getBarCode() 
    {
        return barCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setColer(String coler) 
    {
        this.coler = coler;
    }

    public String getColer() 
    {
        return coler;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setUnits(String units) 
    {
        this.units = units;
    }

    public String getUnits() 
    {
        return units;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setBl(String bl) 
    {
        this.bl = bl;
    }

    public String getBl() 
    {
        return bl;
    }
    public void setInventory(String  Inventory)
    {
        this. Inventory =  Inventory;
    }

    public String getInventory()
    {
        return Inventory;
    }
    public void setIa(String ia) 
    {
        this.ia = ia;
    }

    public String getIa() 
    {
        return ia;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("barCode", getBarCode())
            .append("name", getName())
            .append("specification", getSpecification())
            .append("model", getModel())
            .append("coler", getColer())
            .append("category", getCategory())
            .append("units", getUnits())
            .append("unitPrice", getUnitPrice())
            .append("bl", getBl())
            .append(" Inventory", getInventory())
            .append("ia", getIa())
            .toString();
    }
}
